package object;

public class ToStringDemo {
    public static void main(String[] args) {
        Point p=new Point(100,200);
        System.out.println(p);
        System.out.println(p.toString());
    }
}
